export default {
  title: {
    text: '未来一周气温变化',
    subtext: '广东省气象局'
  },
  tooltip: {
    trigger: 'axis'
  },
  legend: {
    itemGap: 40,
    data: ['最高气温', '最低气温']
  },
  calculable: true,
  xAxis: [{
    type: 'category',
    data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日']
  }],
  yAxis: [{
    type: 'value',
    axisLabel: {
      formatter: '{value} °C'
    }
  }],
  
  series: [
    {
      name: '最高气温',
      type: 'bar',
      data: [11, 11, 15, 13, 12, 13, 10],
      markPoint: {
        data: [
          { type: 'max', name: '最大值' },
          { type: 'min', name: '最小值' }]
      }
    },
    {
      name: '最低气温',
      type: 'bar',
      data: [1, 4, 2, 5, 3, 2, 0],
      markPoint: {
        data: [
          { type: 'min', name: '周最低' }]
      }
    }
  ]
}
